package com.itelecom.oss;

public class Constants {
	public static final String RESPONSE_TAG_RSP = "rsp";
    public static final String RESPONSE_ATTR_STAT = "stat";
    public static final String RESPONSE_STATUS_OK = "ok";

	public static final String RESPONSE_TAG_USER = "user";
    public static final String RESPONSE_ATTR_NSID = "id";
    public static final String RESPONSE_ATTR_LOGIN = "login";
    public static final String RESPONSE_ATTR_ENABLED = "enabled";

	public static final String RESPONSE_ATTR_LATITUDE = "latitude";
    public static final String RESPONSE_ATTR_LONGITUDE = "longitude";
    public static final String RESPONSE_TAG_LOCATION = "location";

    public static final String API_USER_FIND_BY_LOGIN_PASSWORD = "user.xml";

    public static final String PARAM_LOGIN = "username";
    public static final String PARAM_PASSWORD = "password";

    public static final String  API_REST_HOST = "92.249.115.50";
    public static final Integer API_REST_PORT = 80;
    public static final String  API_REST_PROTOCOL = "http";

    public static final String API_REST_URL = "/";
    public static final String PARAM_API_KEY = "api_key";
    public static final String API_KEY = "TODO";		//TODO API_KEY
    public static final String PARAM_METHOD= "method";


    public static final String API_DEVICE_FIND_BY_STATE = "device.xml";
    public static final String PARAM_DEVICESTATE = "state";

    public static final String API_DEVICE_SET_STATE_BY_ID = "device.xml";
    public static final String PARAM_DEVICEID = "id";


    public static final String STATE_ENABLED = "Enabled";
    public static final String STATE_ON_STORAGE = "OnStorage";
    public static final String STATE_PLANNED_REMOVAL = "PlannedRemoval";
    public static final String STATE_APPROVED_INSTALLATION = "ApprovedInstallation";

    public static final String RESPONSE_TAG_DEVICES = "devices";
    public static final String RESPONSE_TAG_DEVICE = "device";
    public static final String RESPONSE_ATTR_DEVCIE_ID = "id";
    public static final String RESPONSE_ATTR_DEVCIE_LOCATION = "location";
    public static final String RESPONSE_ATTR_DEVCIE_STATE = "state";
    public static final String RESPONSE_ATTR_DEVCIE_MODEL = "model";
    public static final String RESPONSE_ATTR_DEVCIE_NAME = "name";
    public static final String RESPONSE_ATTR_DEVCIE_DESCRIPTION = "description";


}